﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewMail.ascx.cs" Inherits="Gollie.Controls.Admin.ViewMail" %>

<span>From</span><asp:TextBox CssClass="input-datetimepicker" ID="tbFrom" runat="server" ClientIDMode="Static"></asp:TextBox>
<span>To</span><asp:TextBox CssClass="input-datetimepicker" ID="tbTo" runat="server" ClientIDMode="Static"></asp:TextBox>
<asp:Button ID="btnOk" runat="server" Text="Refresh" />

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
    <Columns>
        <asp:BoundField DataField="Recipient" HeaderText="Recipient" SortExpression="Recipient">
        <HeaderStyle BackColor="Black"  ForeColor="White"/>
        </asp:BoundField>
        <asp:BoundField DataField="DateSent" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" HeaderText="Sent" SortExpression="DateSent">
        <HeaderStyle BackColor="Black"  ForeColor="White"/>
        </asp:BoundField>
        <asp:BoundField DataField="Subject" HeaderText="Subject" SortExpression="Subject">
        <HeaderStyle BackColor="Black"  ForeColor="White"/>
        </asp:BoundField>
        <asp:BoundField DataField="Body" HeaderText="Body" HtmlEncode="False">
        <HeaderStyle BackColor="Black"  ForeColor="White"/>
        </asp:BoundField>
        <asp:BoundField DataField="Attachment" HeaderText="Attachment" SortExpression="Attachment">
        <HeaderStyle BackColor="Black" ForeColor="White"/>
        </asp:BoundField>
    </Columns>
</asp:GridView>
